3.4.93 \(\int \frac {1}{\sqrt {c x} \sqrt {a x+b x^n}} \, dx\) [393]

Optimal. Leaf size=51 \[ \frac {2 \sqrt {x} \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {x}}{\sqrt {a x+b x^n}}\right )}{\sqrt {a} (1-n) \sqrt {c x}} \]

[Out]

2*arctanh(a^(1/2)*x^(1/2)/(a*x+b*x^n)^(1/2))*x^(1/2)/(1-n)/a^(1/2)/(c*x)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.06, antiderivative size = 51, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {2056, 2054, 212} \begin {gather*} \frac {2 \sqrt {x} \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {x}}{\sqrt {a x+b x^n}}\right )}{\sqrt {a} (1-n) \sqrt {c x}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/(Sqrt[c*x]*Sqrt[a*x + b*x^n]),x]

[Out]

(2*Sqrt[x]*ArcTanh[(Sqrt[a]*Sqrt[x])/Sqrt[a*x + b*x^n]])/(Sqrt[a]*(1 - n)*Sqrt[c*x])

Rule 212

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 2054

Int[(x_)^(m_.)/Sqrt[(a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_.)], x_Symbol] :> Dist[-2/(n - j), Subst[Int[1/(1 - a*x^2
), x], x, x^(j/2)/Sqrt[a*x^j + b*x^n]], x] /; FreeQ[{a, b, j, n}, x] && EqQ[m, j/2 - 1] && NeQ[n, j]

Rule 2056

Int[((c_)*(x_))^(m_.)*((a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[c^IntPart[m]*((c*x)^FracPar
t[m]/x^FracPart[m]), Int[x^m*(a*x^j + b*x^n)^p, x], x] /; FreeQ[{a, b, c, j, m, n, p}, x] && IntegerQ[p + 1/2]
 && NeQ[n, j] && EqQ[Simplify[m + j*p + 1], 0]

Rubi steps

\begin {align*} \int \frac {1}{\sqrt {c x} \sqrt {a x+b x^n}} \, dx &=\frac {\sqrt {x} \int \frac {1}{\sqrt {x} \sqrt {a x+b x^n}} \, dx}{\sqrt {c x}}\\ &=\frac {\left (2 \sqrt {x}\right ) \text {Subst}\left (\int \frac {1}{1-a x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt {a x+b x^n}}\right )}{(1-n) \sqrt {c x}}\\ &=\frac {2 \sqrt {x} \tanh ^{-1}\left (\frac {\sqrt {a} \sqrt {x}}{\sqrt {a x+b x^n}}\right )}{\sqrt {a} (1-n) \sqrt {c x}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.19, size = 87, normalized size = 1.71 \begin {gather*} -\frac {2 \sqrt {b} x^{\frac {1+n}{2}} \sqrt {1+\frac {a x^{1-n}}{b}} \sinh ^{-1}\left (\frac {\sqrt {a} x^{\frac {1}{2}-\frac {n}{2}}}{\sqrt {b}}\right )}{\sqrt {a} (-1+n) \sqrt {c x} \sqrt {a x+b x^n}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/(Sqrt[c*x]*Sqrt[a*x + b*x^n]),x]

[Out]

(-2*Sqrt[b]*x^((1 + n)/2)*Sqrt[1 + (a*x^(1 - n))/b]*ArcSinh[(Sqrt[a]*x^(1/2 - n/2))/Sqrt[b]])/(Sqrt[a]*(-1 + n
)*Sqrt[c*x]*Sqrt[a*x + b*x^n])

________________________________________________________________________________________

Maple [F]
time = 0.08, size = 0, normalized size = 0.00 \[\int \frac {1}{\sqrt {c x}\, \sqrt {a x +b \,x^{n}}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(c*x)^(1/2)/(a*x+b*x^n)^(1/2),x)

[Out]

int(1/(c*x)^(1/2)/(a*x+b*x^n)^(1/2),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(c*x)^(1/2)/(a*x+b*x^n)^(1/2),x, algorithm="maxima")

[Out]

integrate(1/(sqrt(a*x + b*x^n)*sqrt(c*x)), x)

________________________________________________________________________________________

Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(c*x)^(1/2)/(a*x+b*x^n)^(1/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (co
nstant residues)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {c x} \sqrt {a x + b x^{n}}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(c*x)**(1/2)/(a*x+b*x**n)**(1/2),x)

[Out]

Integral(1/(sqrt(c*x)*sqrt(a*x + b*x**n)), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(c*x)^(1/2)/(a*x+b*x^n)^(1/2),x, algorithm="giac")

[Out]

integrate(1/(sqrt(a*x + b*x^n)*sqrt(c*x)), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {1}{\sqrt {c\,x}\,\sqrt {b\,x^n+a\,x}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/((c*x)^(1/2)*(b*x^n + a*x)^(1/2)),x)

[Out]

int(1/((c*x)^(1/2)*(b*x^n + a*x)^(1/2)), x)

________________________________________________________________________________________